﻿// Decompiled with JetBrains decompiler
// Type: UnityEngine.DrivenTransformProperties
// Assembly: UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: E6AE6B5A-2752-4B07-9528-C8B77C62CE79
// Assembly location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.dll
// XML documentation location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.xml

using System;

#nullable disable
namespace UnityEngine
{
  /// <summary>
  ///   <para>An enumeration of transform properties that can be driven on a RectTransform by an object.</para>
  /// </summary>
  [Flags]
  public enum DrivenTransformProperties
  {
    /// <summary>
    ///   <para>Deselects all driven properties.</para>
    /// </summary>
    None = 0,
    /// <summary>
    ///   <para>Selects all driven properties.</para>
    /// </summary>
    All = -1, // 0xFFFFFFFF
    /// <summary>
    ///   <para>Selects driven property RectTransform.anchoredPosition.x.</para>
    /// </summary>
    AnchoredPositionX = 2,
    /// <summary>
    ///   <para>Selects driven property RectTransform.anchoredPosition.y.</para>
    /// </summary>
    AnchoredPositionY = 4,
    /// <summary>
    ///   <para>Selects driven property RectTransform.anchoredPosition3D.z.</para>
    /// </summary>
    AnchoredPositionZ = 8,
    /// <summary>
    ///   <para>Selects driven property Transform.localRotation.</para>
    /// </summary>
    Rotation = 16, // 0x00000010
    /// <summary>
    ///   <para>Selects driven property Transform.localScale.x.</para>
    /// </summary>
    ScaleX = 32, // 0x00000020
    /// <summary>
    ///   <para>Selects driven property Transform.localScale.y.</para>
    /// </summary>
    ScaleY = 64, // 0x00000040
    /// <summary>
    ///   <para>Selects driven property Transform.localScale.z.</para>
    /// </summary>
    ScaleZ = 128, // 0x00000080
    /// <summary>
    ///   <para>Selects driven property RectTransform.anchorMin.x.</para>
    /// </summary>
    AnchorMinX = 256, // 0x00000100
    /// <summary>
    ///   <para>Selects driven property RectTransform.anchorMin.y.</para>
    /// </summary>
    AnchorMinY = 512, // 0x00000200
    /// <summary>
    ///   <para>Selects driven property RectTransform.anchorMax.x.</para>
    /// </summary>
    AnchorMaxX = 1024, // 0x00000400
    /// <summary>
    ///   <para>Selects driven property RectTransform.anchorMax.y.</para>
    /// </summary>
    AnchorMaxY = 2048, // 0x00000800
    /// <summary>
    ///   <para>Selects driven property RectTransform.sizeDelta.x.</para>
    /// </summary>
    SizeDeltaX = 4096, // 0x00001000
    /// <summary>
    ///   <para>Selects driven property RectTransform.sizeDelta.y.</para>
    /// </summary>
    SizeDeltaY = 8192, // 0x00002000
    /// <summary>
    ///   <para>Selects driven property RectTransform.pivot.x.</para>
    /// </summary>
    PivotX = 16384, // 0x00004000
    /// <summary>
    ///   <para>Selects driven property RectTransform.pivot.y.</para>
    /// </summary>
    PivotY = 32768, // 0x00008000
    /// <summary>
    ///   <para>Selects driven property RectTransform.anchoredPosition.</para>
    /// </summary>
    AnchoredPosition = AnchoredPositionY | AnchoredPositionX, // 0x00000006
    /// <summary>
    ///   <para>Selects driven property RectTransform.anchoredPosition3D.</para>
    /// </summary>
    AnchoredPosition3D = AnchoredPosition | AnchoredPositionZ, // 0x0000000E
    /// <summary>
    ///   <para>Selects driven property combining ScaleX, ScaleY &amp;&amp; ScaleZ.</para>
    /// </summary>
    Scale = ScaleZ | ScaleY | ScaleX, // 0x000000E0
    /// <summary>
    ///   <para>Selects driven property combining AnchorMinX and AnchorMinY.</para>
    /// </summary>
    AnchorMin = AnchorMinY | AnchorMinX, // 0x00000300
    /// <summary>
    ///   <para>Selects driven property combining AnchorMaxX and AnchorMaxY.</para>
    /// </summary>
    AnchorMax = AnchorMaxY | AnchorMaxX, // 0x00000C00
    /// <summary>
    ///   <para>Selects driven property combining AnchorMinX, AnchorMinY, AnchorMaxX and AnchorMaxY.</para>
    /// </summary>
    Anchors = AnchorMax | AnchorMin, // 0x00000F00
    /// <summary>
    ///   <para>Selects driven property combining SizeDeltaX and SizeDeltaY.</para>
    /// </summary>
    SizeDelta = SizeDeltaY | SizeDeltaX, // 0x00003000
    /// <summary>
    ///   <para>Selects driven property combining PivotX and PivotY.</para>
    /// </summary>
    Pivot = PivotY | PivotX, // 0x0000C000
  }
}
